package com.wonders.auth.module.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author wonders
 */
@Data
@TableName("sys_user")
public class User extends Model<User> implements Serializable {
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;
    private Integer deptId;
    private String username;
    private String password;
    // 盐
    private String salt;
    private String realName;
    private String sex;
    private String tel;
    private String email;
    private String avatar;
    private String jobTitle;
    private Integer status;
    private Integer sort;
    private Integer delFlag;
    private Integer createBy;
    private Date createTime;
    private Date updateTime;
}
